package org.example.service.impl;

import org.example.domain.SysDictData;
import org.example.mapper.SysDictDataMapper;
import org.example.service.SysDictDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysDictDataServiceImpl implements SysDictDataService {

    @Autowired
   private SysDictDataMapper sysDictDataMapper;

    @Override
    public List<SysDictData> list(SysDictData sysDictData) {
        return sysDictDataMapper.list(sysDictData);
    }

    @Override
    public Boolean add(SysDictData sysDictData) {
        return sysDictDataMapper.add(sysDictData);
    }

    @Override
    public boolean delete(SysDictData sysDictData) {
        return sysDictDataMapper.delete(sysDictData);
    }

    @Override
    public boolean update(SysDictData sysDictData) {
        return sysDictDataMapper.update(sysDictData);
    }

    @Override
    public boolean deAll(List<Long> asList) {
        return sysDictDataMapper.deAll(asList);
    }


}
